package org.testfire.model.assertions;

import org.w3c.dom.Element;

/**
 * Created by IntelliJ IDEA.
* User: granum
* Date: Sep 2, 2007
* Time: 5:49:23 PM
*
*/
public class AssertSame extends Assertion
{
    private String expected;
    private boolean asNotSame = false;
    public  AssertSame( Element el, boolean assertNotSame)
    {
        super(el);
        this.asNotSame = assertNotSame;
        expected = el.getAttribute( "expected" );
    }
  

    public String getExpected()
    {
        return expected;
    }

    public boolean isAsNotSame()
    {
        return asNotSame;
    }
}
